<script setup>
// import { getCurrentInstance } from 'vue'
// import { checkAuthToken, getHomePage } from '@/utils/index.js'
// const { proxy } = getCurrentInstance()
// if (checkAuthToken) {
//   proxy.$ToPath(getHomePage().path)
// } else {
//   proxy.$ToPath('/login')
// }
</script>

<template>
  <div class="app-container">
    <router-view></router-view>
  </div>
</template>

<style scoped>
.app-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
}
</style>
